<!DOCTYPE html>
<html lang="zh-cn">
    <head>
        <meta name="viewport" content="width=device-width,initial-scale=1" >
        <meta charset="utf-8">
        <title>${constants.getSystemName()}</title>
        <link rel="shortcut icon" href="${ctxPath}/assets/images/ico.png" type="image/x-icon">
        <link rel="stylesheet" href="${ctxPath}/assets/css/common.css">
        <link rel="stylesheet" href="${ctxPath}/assets/css/font-awesome.min.css">
        <link rel="stylesheet" href="${ctxPath}/assets/js/message/css/message.css">
        <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
        <script src="${ctxPath}/assets/js/message/js/message.js"></script>
        @/* 其他业务用的css */
	    @if(isNotEmpty(css)){
	        @for(item in css){
	            @if(strutil.startWith(item,"/")){
	                @item = ctxPath + item;
	            @}
	            <link href="${item}?v=${constants.getReleaseVersion()}" rel="stylesheet" type="text/css" />
	        @}
	    @}
    </head>
    <body>
    	@if(isNotEmpty(navType)){
    		@if(navType == "index"){
    			<div class="back">
		            <div class="backimg">
		                <img class="bimg" src="${ctxPath}/assets/images/back.png" alt="">
		            </div>
		            <div class="nav" id="nav" style="background-color: rgba(255, 255, 255, 0);">
		                <div class="head">
		                    <a href="/" class="logo">
		                        <img class="logopic" src="${pageInfo.logo}" alt="" srcset="">
		                        <div class="logotext">${constants.getSystemName()}</div>
		                    </a>
		                    <div class="menu">
		                        <div class="searchbox">
		                            <input id="keyword" value="" class="sip aaa" type="text" oninput="change()" placeholder="搜索行业、分类">
		                            <div style="width:20px;height:20px;">
		                            	<div class="cp" id="clear" style="display:none;"><svg t="1691718680300" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7426" width="20" height="20"><path d="M463.872 521.109333L212.736 269.952A42.666667 42.666667 0 0 1 273.066667 209.621333l251.157333 251.157334L775.381333 209.621333a42.666667 42.666667 0 1 1 60.330667 60.330667L584.554667 521.109333 835.712 772.266667a42.666667 42.666667 0 1 1-60.330667 60.330666L524.224 581.461333 273.066667 832.597333A42.666667 42.666667 0 1 1 212.736 772.266667l251.136-251.157334z" fill="#333434" p-id="7427"></path></svg></div>
		                            </div>
		                            <div class="cp" id="searchBtn2" style="margin-left:10px;"><svg t="1691718559265" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6140" width="20" height="20"><path d="M0 0h1024v1024H0z" fill="#FFFFFF" p-id="6141"></path><path d="M909.504 974.72l-165.504-160.448a45.056 45.056 0 0 1 0-65.024 48.448 48.448 0 0 1 67.072 0l165.504 160.448" fill="#333333" p-id="6142"></path><path d="M146.944 640.32a367.104 367.104 0 0 1-35.52-158.08A369.408 369.408 0 0 1 480.32 113.28a369.408 369.408 0 0 1 368.96 368.96A369.344 369.344 0 0 1 480.32 851.2a366.784 366.784 0 0 1-193.728-55.04l-33.728 54.4a430.336 430.336 0 0 0 227.392 64.64 433.408 433.408 0 0 0 432.96-432.96A433.408 433.408 0 0 0 480.256 49.28 433.408 433.408 0 0 0 47.36 482.24c0 64.96 14.4 128 41.728 185.536l57.856-27.456z" fill="#333434" p-id="6143"></path></svg></div>
		                            <!-- <img src="${ctxPath}/assets/images/ss.png" style="width: 22px;height: 22px;" alt=""> -->
		                        </div>
		                        @var islogin = shiro.hasLogin();
		                        @if(!islogin) {
		                        <div id="login" class="loginbtn">登录</div>
		                        @}
		                        @if(islogin) {
		                        <div class="user">
		                        	<a href="${ctxPath}/orderCenter.html">订单中心</a>
		                        	<img class="tx" src="${shiro.getUser().avatar}" />
		                        </div>
		                        @}
		                    </div>
		                </div>
		            </div>
		        </div>
    		@}else{
	    	<div class="back">
	            <div class="nav" id="nav" style="background-color: rgba(255, 255, 255, 1);">
	                <div class="head">
	                    <a href="/" class="logo">
	                        <img class="logopic" src="${pageInfo.logo}" alt="" srcset="">
	                        <div class="logotext">${pageInfo.siteName}</div>
	                    </a>
	                    <div class="menu">
	                        <div class="searchbox">
	                            <input id="keyword" value="" class="sip aaa" type="text" oninput="change()" placeholder="搜索行业、分类">
	                            <div style="width:20px;height:20px;">
	                            	<div class="cp" id="clear" style="display:none;"><svg t="1691718680300" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7426" width="20" height="20"><path d="M463.872 521.109333L212.736 269.952A42.666667 42.666667 0 0 1 273.066667 209.621333l251.157333 251.157334L775.381333 209.621333a42.666667 42.666667 0 1 1 60.330667 60.330667L584.554667 521.109333 835.712 772.266667a42.666667 42.666667 0 1 1-60.330667 60.330666L524.224 581.461333 273.066667 832.597333A42.666667 42.666667 0 1 1 212.736 772.266667l251.136-251.157334z" fill="#333434" p-id="7427"></path></svg></div>
	                            </div>
	                            <div class="cp" id="searchBtn2" style="margin-left:10px;"><svg t="1691718559265" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6140" width="20" height="20"><path d="M0 0h1024v1024H0z" fill="#FFFFFF" p-id="6141"></path><path d="M909.504 974.72l-165.504-160.448a45.056 45.056 0 0 1 0-65.024 48.448 48.448 0 0 1 67.072 0l165.504 160.448" fill="#333333" p-id="6142"></path><path d="M146.944 640.32a367.104 367.104 0 0 1-35.52-158.08A369.408 369.408 0 0 1 480.32 113.28a369.408 369.408 0 0 1 368.96 368.96A369.344 369.344 0 0 1 480.32 851.2a366.784 366.784 0 0 1-193.728-55.04l-33.728 54.4a430.336 430.336 0 0 0 227.392 64.64 433.408 433.408 0 0 0 432.96-432.96A433.408 433.408 0 0 0 480.256 49.28 433.408 433.408 0 0 0 47.36 482.24c0 64.96 14.4 128 41.728 185.536l57.856-27.456z" fill="#333434" p-id="6143"></path></svg></div>
	                            <!-- <img src="${ctxPath}/assets/images/ss.png" style="width: 22px;height: 22px;" alt=""> -->
	                        </div>
	                        	@var islogin = shiro.hasLogin();
		                        @if(!islogin) {
		                        <div id="login" class="loginbtn">登录</div>
		                        @}
		                        @if(islogin) {
		                        <div class="user">
		                        	<a href="${ctxPath}/orderCenter.html">订单中心</a>
		                        	<img class="tx" src="${shiro.getUser().avatar}" />
		                        </div>
		                        @}
	                    </div>
	                </div>
	            </div>
	        </div>
	    	@}
    	@}else{
    	<div class="back">
            <div class="nav" id="nav" style="background-color: rgba(255, 255, 255, 1);">
                <div class="head">
                    <a href="/" class="logo">
                        <img class="logopic" src="${pageInfo.logo}" alt="" srcset="">
                        <div class="logotext">${pageInfo.siteName}</div>
                    </a>
                    <div class="menu">
                        <div class="searchbox">
                            <input id="keyword" value="" class="sip aaa" type="text" oninput="change()" placeholder="搜索行业、分类">
                            <div style="width:20px;height:20px;">
                            	<div class="cp" id="clear" style="display:none;"><svg t="1691718680300" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7426" width="20" height="20"><path d="M463.872 521.109333L212.736 269.952A42.666667 42.666667 0 0 1 273.066667 209.621333l251.157333 251.157334L775.381333 209.621333a42.666667 42.666667 0 1 1 60.330667 60.330667L584.554667 521.109333 835.712 772.266667a42.666667 42.666667 0 1 1-60.330667 60.330666L524.224 581.461333 273.066667 832.597333A42.666667 42.666667 0 1 1 212.736 772.266667l251.136-251.157334z" fill="#333434" p-id="7427"></path></svg></div>
                            </div>
                            <div class="cp" id="searchBtn2" style="margin-left:10px;"><svg t="1691718559265" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6140" width="20" height="20"><path d="M0 0h1024v1024H0z" fill="#FFFFFF" p-id="6141"></path><path d="M909.504 974.72l-165.504-160.448a45.056 45.056 0 0 1 0-65.024 48.448 48.448 0 0 1 67.072 0l165.504 160.448" fill="#333333" p-id="6142"></path><path d="M146.944 640.32a367.104 367.104 0 0 1-35.52-158.08A369.408 369.408 0 0 1 480.32 113.28a369.408 369.408 0 0 1 368.96 368.96A369.344 369.344 0 0 1 480.32 851.2a366.784 366.784 0 0 1-193.728-55.04l-33.728 54.4a430.336 430.336 0 0 0 227.392 64.64 433.408 433.408 0 0 0 432.96-432.96A433.408 433.408 0 0 0 480.256 49.28 433.408 433.408 0 0 0 47.36 482.24c0 64.96 14.4 128 41.728 185.536l57.856-27.456z" fill="#333434" p-id="6143"></path></svg></div>
                            <!-- <img src="${ctxPath}/assets/images/ss.png" style="width: 22px;height: 22px;" alt=""> -->
                        </div>
                        		@var islogin = shiro.hasLogin();
		                        @if(!islogin) {
		                        <div id="login" class="loginbtn">登录</div>
		                        @}
		                        @if(islogin) {
		                        <div class="user">
		                        	<a href="${ctxPath}/orderCenter.html">订单中心</a>
		                        	<img class="tx" src="${shiro.getUser().avatar}" />
		                        </div>
		                        @}
                    </div>
                </div>
            </div>
        </div>
    	@}
        
		@/* 正文 */
		${layoutContent}
		<div id="footer" check-reduce="" class="foot">
            <ul class="links ft">
                <li class="links_item">
                    <a href="http://www.tencent.com/zh-cn/index.shtml" target="_blank">关于腾讯</a>
                </li>
                <li class="links_item">
                    <a href="https://developers.weixin.qq.com/community/develop/doc/000e2cb63d8c28e6cf79d839b51809" target="_blank">运营规范</a>
                </li>
                <li class="links_item">
                    <a href="https://mp.weixin.qq.com/debug/wxadoc/dev/index.html" target="_blank">文档中心</a>
                </li>
                <li class="links_item">
                    <a href="http://mp.weixin.qq.com/cgi-bin/opshowpage?action=dispelinfo&amp;lang=zh_CN&amp;begin=1&amp;count=9" target="_blank">辟谣中心</a>
                </li>
                <li class="links_item">
                    <a href="http://kf.qq.com/product/wx_xcx.html" target="_blank">客服中心</a>
                </li>
                <li class="links_item">
                    <p class="copyright">${pageInfo.copyright}</p>
                </li>
            </ul>
        </div>
        <div class="zz" id="zz" style="display:none;">
        	<div class="loginBox">
        		<i id="closeLogin" style="cursor: pointer;font-size:24px;color:#8a8a8a;position: absolute;right: 20px;top: 14px;" class="fa fa-close"></i>
        		<div class="loginInfo">
        			<div style="width:200px;height:200px;    position: relative;">
        				<img id="qrcode" style="display:none;" />
        				<div class="succ" style="display:none;">
        					<svg t="1691646385783" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="16761" width="40" height="40"><path d="M512 41.984c-259.584 0-470.528 210.432-470.528 470.528 0 259.584 210.432 470.528 470.528 470.528s470.528-210.432 470.528-470.528c0-259.584-210.432-470.528-470.528-470.528z m230.912 353.28L471.04 667.136c-4.608 4.608-10.24 6.656-15.872 7.68-8.192 2.56-17.92 0.512-24.576-6.144l-149.504-149.504c-9.728-9.728-9.728-25.088 0-34.816l3.072-3.072c9.728-9.728 25.088-9.728 34.816 0L450.56 612.864l254.976-254.976c10.24-10.24 27.136-10.24 37.888 0 9.728 9.728 9.728 26.624-0.512 37.376z" fill="#0DA971" p-id="16762"></path><path d="M715.264 357.376l-254.976 254.976L328.704 481.28c-9.728-9.728-25.088-9.728-34.816 0l-3.072 3.072c-9.728 9.728-9.728 25.088 0 34.816L440.32 668.672c6.656 6.656 15.872 8.704 24.576 6.144 6.144-0.512 11.776-3.072 15.872-7.68L752.64 395.264c10.24-10.24 10.24-27.136 0-37.888-9.728-10.24-26.624-10.24-37.376 0z" fill="#FFFFFF" p-id="16763"></path></svg>
        				</div>
        				<div class="qrload">
        					<svg t="1691644765077" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4000" width="30" height="30"><path d="M512 192m-128 0a64 64 0 1 0 256 0 64 64 0 1 0-256 0Z" p-id="4001" fill="#bfbfbf"></path><path d="M192 512m-96 0a48 48 0 1 0 192 0 48 48 0 1 0-192 0Z" p-id="4002" fill="#bfbfbf"></path><path d="M736 288m-16 0a8 8 0 1 0 32 0 8 8 0 1 0-32 0Z" p-id="4003" fill="#bfbfbf"></path><path d="M360.2 215.2c-39.8-40.2-104.4-40.2-144.2 0-39.8 40.2-39.8 105.4 0 145.6 39.8 40.2 104.4 40.2 144.2 0C400 320.6 400 255.4 360.2 215.2z" p-id="4004" fill="#bfbfbf"></path><path d="M832 512m-32 0a16 16 0 1 0 64 0 16 16 0 1 0-64 0Z" p-id="4005" fill="#bfbfbf"></path><path d="M738 738m-48 0a24 24 0 1 0 96 0 24 24 0 1 0-96 0Z" p-id="4006" fill="#bfbfbf"></path><path d="M512 832m-64 0a32 32 0 1 0 128 0 32 32 0 1 0-128 0Z" p-id="4007" fill="#bfbfbf"></path><path d="M288 736m-80 0a40 40 0 1 0 160 0 40 40 0 1 0-160 0Z" p-id="4008" fill="#bfbfbf"></path></svg>
        				</div>
        			</div>
        			<div id="stips" style="font-size:16px;color:#8a8a8a;margin-top:20px;">微信扫码登录</div>
        		</div>
        	</div>
        </div>
        <!-- <div style="height: 300px;background-color: red;width: 100%;">123</div> -->
    </body>
    <script src="${ctxPath}/assets/js/login.js"></script>
    <script src="${ctxPath}/assets/js/search.js"></script>
</html>